<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;

class CreateNdTMoneyTransferTable extends Migration
{
	/**
	 * Run the migrations.
	 *
	 * @return void
	 */
	public function up()
	{
		// Create the `MoneyTransfer` table
		Schema::create('nd_t_money_transfer', function(Blueprint $table)
		{
            $table->increments('id');
            $table->integer('mongolian_bank_account_id');
            $table->integer('japan_bank_account_id');
            $table->date('transfer_date');
            $table->integer('amount');
            $table->integer('commission');
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        // Delete the `MoneyTransfer` table
        Schema::drop('nd_t_money_transfer');
    }
}
